package io.renren.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.common.utils.R;
import io.renren.entity.AdEntity;

/**
 * @author LANLING
 * @email lanling@gmail.com
 * @date 2018-12-10 11:47:58
 */
public interface AdService extends IService<AdEntity> {

    /***
     * 获取广告
     * @param adPositionId 广告位置
     * @return R
     */
    R getAd(Integer adPositionId);
}

